// image_utils.h
#include <map>

using namespace std;

namespace ImageUtils{
  class BasicImageUtils{
    public:

    // Returns image width
    static void ImageDimensions(char* image_name, int& width, int& depth);


    // Returns image data matrix
    static void Map(char* image_name, int **mapa);
    static map<pair<int,int>, int> Map(char* image_name);
    static map<pair<int,int>, int> MapAndDimensions(char* image_name, int &width, int &depth);

    // Save new image
    static void PrintMap(int **mapa, char* image_name, int width, int depth);
    static void PrintMap(int**  mapa, int width, int depth);
    static void PrintMap(map<pair<int,int>, int> mapa,
			 char* image_name, int width, int depth);
  };
}
